﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNHDAO
{
    public class SanPhamDAO : Repository<SanPham>
    {
        public SanPham GetByID(int masanpham)
        {
            return All().Where(m => m.MaSanPham == masanpham).Single();
        }
    }
}
